default: clean

WHO := $(shell whoami)
WHERE := $(shell uname -n)

ifeq ($(WHO)$(WHERE),jyrkipc-014.diku.dk)
  CXX := /scratch/g++3.0.4/bin/g++ -Wall
else
  CXX := g++ -Wall
endif

compiler:
	@echo $(WHO) $(WHERE) $(CXX)

test:
	$(CXX) -O6 -I../Common test.c++
	./a.out

benz:
	python heapsort.py

find :
	find . -type f -print -exec grep $(word) {} \; | less #

clean:
	-rm -f a.out gmon.out *~ *.o plot.[0-9]* temp
